package structs

type DwzReq struct {
	LongUrl        string `json:"LongUrl"`
	TermOfValidity string `json:"TermOfValidity"`
}

type DwzResp struct {
	Code      int           `json:"Code"`
	ErrMsg    string        `json:"ErrMsg"`
	ShortUrls []DwzRespBody `json:"ShortUrls"`
}

type DwzRespBody struct {
	Code     int    `json:"Code"`
	LongUrl  string `json:"LongUrl"`
	ShortUrl string `json:"ShortUrl"`
	ErrMsg   string `json:"ErrMsg"`
}
